package com.qf.pojo;/*
*王浩政 
*whz
2022/9/6
14:00
*小米商城
*/

import java.util.List;

public class Order {
    private int id;
    private List<Item> items;

    public Order() {
    }

    public Order(int id, List<Item> items) {
        this.id = id;
        this.items = items;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", items=" + items +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<Item> getItems() {
        return items;
    }

    public void setItems(List<Item> items) {
        this.items = items;
    }
}
